package com.jieyang.oa.service;

import com.github.pagehelper.PageInfo;
import com.jieyang.oa.pojo.Vo.IncomeListVo;
import com.jieyang.oa.pojo.entity.Income;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("incomeService")
public interface IncomeService {
    Integer insert(Income income);

    List<Income> selectIncomeTypeList();

    PageInfo<IncomeListVo> selectAll(int pageNum, int pageSize, String startDate, String endDate, String incomeType);

    Integer delete(Long incomeId);

    IncomeListVo selectByIncomeId(Long incomeId);
}
